import { ref, Ref, computed, ComputedRef } from 'vue'
import Project from '../types/Project';
import {ProjBasicInfoViewModel} from "../types/ProjBasicInfo";
export function useProjBasicInfo(proj: Project){
    const projBasicInfo: Ref<ProjBasicInfoViewModel> = ref(new ProjBasicInfoViewModel());

    function reset () {
        //TODO 项目信息的重置方法
    }
    async function validate() {
        //TODO 项目信息的校验方法
    }
    return {
        projBasicInfo,
        reset,
        validate
    }
}